package com.colors.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author colors
 * @date 2021/1/6 10:46
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {

    @Override
    public String paymentInfo_ok(Integer id) {
        return "-------PaymentFallbackService fallback -paymentInfo_ok,┭┮﹏┭┮";
    }

    @Override
    public String paymentInfo_timeout(Integer id) {
        return "-------PaymentFallbackService fallback -paymentInfo_timeout,┭┮﹏┭┮";
    }
}
